#ifndef meal_h
#define meal_h

#include "Eatable.h"

class Meal: public Eatable
{
private:
	int timeToCook;

public:
	Meal(String name, String filename, NutritionalInfo& info, int timeToCook) :
		Eatable(name, filename, info)
	{
		this->timeToCook = timeToCook;
	}

	const int getTimeToCook() const
	{
		return timeToCook;
	}

	/*
	 * Update this as you add members
	 */
	void operator=(Meal& other)
	{
		this->name = other.getName();
		this->info = other.getNutritionalInfo();
		this->image = other.getImage();
		this->timeToCook = other.getTimeToCook();
	}
};

#endif
